package com.woniu.cq.medical.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lucas
 * @since 2020-09-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("lonbon_medical_card")
public class MedicalCard implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键 医疗卡
     */
    @TableId(value = "medical_card_id", type = IdType.AUTO)
    private Integer medicalCardId;

    /**
     * 病人ID
     */
    private Integer patientId;

    /**
     * 卡状态(挂失 正常 注销)
     */
    private String medicalCardStatus;

    /**
     * 新增时间
     */
    private Date medicalCardIntoTime;

    /**
     * 更新时间
     */
    private Date medicalCardLastModificationTime;


}
